//
//  HWCashWidthDrawModel.m
//  嗨文
//
//  Created by 响当当 on 5/20/19.
//  Copyright © 2019 dongzheng. All rights reserved.
//

#import "HWCashWidthDrawModel.h"

@implementation HWCashWidthDrawModel
- (id)initWithDic:(NSDictionary *)dic
{
    if (self = [super init])
    {
        self.realName = IFNULL(dic[@"realName"], [NSString string]);
        self.gender = IFNULL(dic[@"gender"],[NSNumber new]);
        self.automaticDeduction = IFNULL(dic[@"automaticDeduction"], [NSNumber new]);
        self.phoneNum = IFNULL(dic[@"phoneNum"], [NSString string]);
        self.userId = IFNULL(dic[@"userId"],[NSNumber new]);
        self.alipayAccount = IFNULL(dic[@"alipayAccount"], [NSString string]);
        self.canWithdrawCash = IFNULL(dic[@"canWithdrawCash"], [NSNumber new]);
        self.agentLevel = IFNULL(dic[@"updateTime"], [NSArray array]);
        self.hasWithdrawedCash = IFNULL(dic[@"hasWithdrawedCash"],  [NSNumber new]);

        
    }
    return self;
}
@end
